package com.whnk.model.domain;

import com.whnk.common.core.annotation.Excel;
import com.whnk.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 模型指标定义对象 def_t_model_rel_index
 * 
 * @author whnk
 * @date 2021-08-31
 */
public class DefTModelRelIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑ID */
    private Long id;

    /** 模型编号 */
    @Excel(name = "模型编号")
    private String modelId;

    /** 指标编号ID */
    @Excel(name = "指标编号ID")
    private String indexId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModelId(String modelId) 
    {
        this.modelId = modelId;
    }

    public String getModelId() 
    {
        return modelId;
    }
    public void setIndexId(String indexId) 
    {
        this.indexId = indexId;
    }

    public String getIndexId() 
    {
        return indexId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("modelId", getModelId())
            .append("indexId", getIndexId())
            .append("status", getStatus())
            .toString();
    }
}
